<html>
<head><meta charset="utf-8"><title>Hinting for underspecified associated type uses · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Hinting.20for.20underspecified.20associated.20type.20uses.html">Hinting for underspecified associated type uses</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244053570"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Hinting%20for%20underspecified%20associated%20type%20uses/near/244053570" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> inquisitivecrystal <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Hinting.20for.20underspecified.20associated.20type.20uses.html#244053570">(Jun 27 2021 at 07:02)</a>:</h4>
<p>I've been trying to figure out whether I know enough to write a fix for <a href="https://github.com/rust-lang/rust/issues/86579">#86579</a>. I'm pretty sure the main fix would need to go in <code>compiler/rustc_resolve/src/late.rs</code>, with some stuff going in <code>compiler/rustc_resolve/src/diagnostics.rs</code>. However, <code>late.rs</code> is a bit of a maze. I think whatever fix I write should probably be in <code>resolve_qpath</code>, but I can't even figure out which method I need to call to check if there's a similarly named associated type.</p>
<p>I think I have two questions. 1) Is this something I should leave for someone more expirienced? I only have a few PRs under my belt. 2) If it is something it makes sense for me to work on, do people have any advice?</p>



<a name="244064721"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Hinting%20for%20underspecified%20associated%20type%20uses/near/244064721" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Hinting.20for.20underspecified.20associated.20type.20uses.html#244064721">(Jun 27 2021 at 12:25)</a>:</h4>
<p><span class="user-mention" data-user-id="123856">@Vadim Petrochenkov</span> may have suggestions</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>